package com.kasax.maddmlib.utils;

import com.alibaba.fastjson.JSON;
import com.google.gson.Gson;

public class JsonUtils {
    private static Gson gson = new Gson();

    public static String gFormat(Object obj) {
        return gson.toJson(obj);
    }

    public static String fFormat(Object obj) {
        return JSON.toJSONString(obj);
    }
}
